/*
 * =====================================================================================
 *
 *       Filename:  atan2.cpp
 *
 *    Description:  atan2 example 
 *
 *        Version:  1.0
 *        Created:  12/11/2011 05:26:41 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *        Company:  
 *
 * =====================================================================================
 */
#include <stdio.h>
#include <math.h>
#include <limits>
#include <iostream>
int main ()
{
	using namespace std;
	char a = numeric_limits<char>::quiet_NaN();
	a += 1;
	if (numeric_limits<char>::has_quiet_NaN)
		cout << a << " a is NaN. " ;
	else
		cout << a << " is not NaN. " ;
	a+=1;

  return 0;
}
